import { useContext } from "react"
import { ColorContext } from "./Colors"

function ShowText() {
    const {color} = useContext(ColorContext)
    return (
        <>
        <div style={{color:color}}>字体的颜色为蓝色</div>
        </>
    )
}

export default ShowText